package com.x.ant.model;


import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

@MappingTable(tableName = "CRM_USER_POST")
public class UserPost extends BaseObject {
	@MappingColumn(columnName = "USER_ID", columnPk = true, columnLength = 32)
	private String userId;
    @MappingColumn(columnName = "POST_ID", columnPk = true, columnLength = 32)
	private String postId;
    @MappingTable(tableName = "CRM_USER")
    private User user;

	public UserPost() {

	}

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPostId() {
        return postId;
    }

    public void setPostId(String postId) {
        this.postId = postId;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
